/**
 * render list
 * 
 * @param {}
 *            value
 * @param {}
 *            cellmeta
 * @param {}
 *            record
 * @param {}
 *            rowIndex
 * @param {}
 *            columnIndex
 * @param {}
 *            store
 * @return {}
 */
function fcuserlist(value, cellmeta, record, rowIndex, columnIndex,
		store) {
	var cm = getGridCm('fcuserlist');
	var fieldName = cm.getDataIndex(columnIndex);
	if (fieldName == 'UDATE') {
		return formatTime(value);
	} else if (fieldName == 'USTATUS') {
		if (value == '-1') {
			return '<span style="color:yellow">无效</span>';
		} else if (value == '0') {
			return '<span style="color:orange">待确认</span>';
		} else if (value == '1') {
			return '正常';
		} else if (value == '-2') {
			return '冻结';
		}
	} else if (fieldName == 'UTYPE') {
		if (value == 'focalCompany') {
			return '核心企业';
		}
	} else if (fieldName == 'UTYPEID') {
		return '<a href="' + context + '/app/focalCompany/applyview.jsp?id='
				+ value + '" target="_blank">查看</a>';
	} else if (fieldName == 'SP') {
		if (record.data['USTATUS'] == '1') {
			return '<a href="javascript:void(0);" onclick="javascript:editStatus(\''
					+ record.data['ID'] + '\');">冻结账号</a>';
		} else if (record.data['USTATUS'] == '-2') {
			return '<a href="javascript:void(0);" onclick="javascript:editStatus(\''
					+ record.data['ID'] + '\');">解除冻结</a>';
		}
	}

	return value;
}

function editStatus(id, name) {

}